package com.fan.service.user;

import com.fan.pojo.User;

import java.util.List;

public interface UserService {

    public User login(String userCode);
    public boolean updatePwd(int id, String pwd);
    public int getUserCount(String username,int userRole);
    public List<User> getUserList(String queryUserName,int queryUserRole,int currentPageNo,int pageSize);
    public boolean add(User user);
    public boolean deleteUserById(Integer delId);
    public User getUserById(String id);
    public boolean updateUser(String id,String userName,String gender,String birthday,String phone,String address,String userRole);

}





































